//
//  SheetViewController.h
//  NBBankEnt
//
//  Created by KK on 14-8-11.
//
//
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@protocol JMPickerViewDelegate <NSObject>
@required
    -(void) didSeleted:(int) index;
@optional
    -(void) didCancle;
    -(void) didDelete:(int) index;
@end

@protocol JMPickerDateDelegate <NSObject>
@required
-(void) didSeletedDateStr:(NSString*) aStrDate;
@end

typedef NS_ENUM(NSUInteger, JMPickerType) {
    JMPickerNormal = 0,
    JMPickerDatePicker,
    JMPickerLogin,
};

#import <Foundation/Foundation.h>

@interface SheetViewController : UIViewController<UIPickerViewDataSource,UIPickerViewDelegate>

@property (nonatomic,retain)UIPickerView* pickView;
@property (nonatomic,retain)UIDatePicker* datePickView;
@property (nonatomic,retain)UILabel*    titleLabel;
@property (nonatomic,retain)NSArray* arrayPickView; //data数组
@property (nonatomic,retain)NSMutableString* YYSelString;
@property (nonatomic,retain)NSString* titleText;
@property (nonatomic,retain)UITableView* table;

@property (nonatomic,assign)enum JMPickerType pickType;
@property (nonatomic,assign)int selectRow;
@property (nonatomic,assign) id<JMPickerViewDelegate> iDelegate;
@property (nonatomic,assign) id<JMPickerDateDelegate> dateDelegate;

@end
